package com.wkck.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author: CK
 * @Date: 2024/03/21/12:48
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("news_content")
@Builder
public class NewsContent implements Serializable {

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long news_id;

    private String content;
}
